package com.gdk.ksoft.data.entry.tables;

import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Id;
import com.lidroid.xutils.db.annotation.NotNull;
import com.lidroid.xutils.db.annotation.Table;

/**
 * Created by hel on 2014-12-01.
 * 销售单表
 */
@Table(name = "xiaoshoudan")
public class SaleTable extends BaseTable{

    /**
     * 销售单ID
     */
    @NotNull
    @Id(column = "id")
    public int id;

    /**
     * 单据号
     */
    @Column(column = "djh")
    public String djh;

    /**
     * 客户ID
     */
    @Column(column = "kh_id")
    public int kh_id;

    /**
     * 收货地址ID
     */
    @Column(column = "shdz_id")
    public int shdz_id;

    /**
     * 发货时间
     */
    @Column(column = "fhsj")
    public String fhsj;

    /**
     * 结算方式
     */
    @Column(column = "jsfs",defaultValue = "0")
    public int jsfs;

    /**
     * 账期天数
     */
    @Column(column = "zqts",defaultValue = "0")
    public int zqts;

    /**
     * 件数
     */
    @Column(column = "js",defaultValue = "0")
    public int js;

    /**
     * 散数
     */
    @Column(column = "ss")
    public int ss;

    /**
     * 金额
     */
    @Column(column = "sfje")
    public double sfje;

    /**]
     * 下单时间
     */
    @Column(column = "xdsj")
    public String xdsj;


    /**
     * 订单类型,0- 1-
     */
    @Column(column = "ddlx")
    public int ddlx;

    /**
     * 备注信息
     */
    @Column(column = "pssm")
    public String pssm;

    /**
     * 单机
     */
    @Column(column = "djbz",defaultValue = "0")
    public int djbz;
}
